package com.matrix.async.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.matrix.core.pojo.PaginationVO;
import com.matrix.async.bean.AsyncErrorLogBean;
import com.matrix.async.dao.AsyncErrorLogDao;
import com.matrix.async.service.AsyncErrorLogService;
@Service
public class AsyncErrorLogServiceImpl implements AsyncErrorLogService{

	@Autowired
	AsyncErrorLogDao asyncErrorLogDao;

	@Override
	public int add(AsyncErrorLogBean obje) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int modifyByMap(AsyncErrorLogBean oldValue,
			AsyncErrorLogBean newValue) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int remove(List<String> list) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int removeById(String id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<AsyncErrorLogBean> findInPage(AsyncErrorLogBean asyncErrorLog,
			PaginationVO pageVo) {
		return asyncErrorLogDao.selectInPage(asyncErrorLog, pageVo);
	}

	@Override
	public List<AsyncErrorLogBean> findByModel(AsyncErrorLogBean obje) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int findTotal(AsyncErrorLogBean asyncErrorLog) {
		return asyncErrorLogDao.selectTotalRecord(asyncErrorLog);
	}

	@Override
	public AsyncErrorLogBean findById(String id) {
		return asyncErrorLogDao.selectById(id);
	}

	
}
